feat(harness-desktop): install and launch isolated agent CLIs - #845
Conversation
Review — PR #845 (round 1)No confidentiality findings in the changesets, JSDoc, or comments. 1.
|
Review — PR #845 (round 2, follow-up)Delta reviewed: Round-1 findings: all four resolved
The PR body no longer carries the third-party model identifiers from the round-1 nit. Note (not blocking)
I could not execute the desktop suites in this sandbox; the assessment is from the diff and Verdict: approve — merge per the PR's stated ordering (after #844, before #843). |
Primary change type
Problem and motivation
Desktop must install coding providers independently of a user's Node installation and preserve their launch configuration in sessions, resume, and background Agent Map generation. JavaScript CLI entry points need the bundled interpreter, its arguments, and its environment on every launch path.
Summary and scope
Related work
Merge after #844 and before #843. #843 adds startup update policy using these runtime primitives.
Validation
Real managed Claude Code 2.1.263 and Codex 0.153.4 both generated maps from copied previous-release profiles. The test verified create-only publication, restart persistence, later ordinary-session map edits, no public task broadcasts, and unchanged agent source files. Direct reset testing deleted five format-1 maps while preserving all eleven format-2 files byte for byte.
Node 20/22 CI passed before the final browser-only fix; the checks attached to this PR cover its final head. Local root tests encounter an unchanged agent-core permission-test incompatibility in the cloud VM. Two unchanged filesystem-watcher expectations differ on macOS; Linux CI covers them. Windows runtime behavior is covered by CI packaging and platform tests, not an interactive Windows device.
Tests and documentation
Added managed launch/worker protocol regressions and packaged smoke coverage; retained the browser restoration and no-page-error assertions that exposed the fixes. Adapter options, desktop setup, and Changesets document the release behavior.
Compatibility and release impact
createCodexAdapterexport. Existing callers retain defaults.Security
AI assistance
Checklist